function acs_ari_seq=arithmetic_seq(start,stop)
% judge the max value of start and stop,generate an acsending arithmetic sequence
if start>stop
    temp=start;
    start=stop;
    stop=temp;   
end
acs_ari_seq=start:stop; 